package com.cssl.service;

import com.cssl.domain.DtsCategory;
import com.cssl.domain.DtsGoods;
import com.cssl.domain.dto.DtsCategoryDto;
import com.cssl.util.Result;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DtsCategoryService {
    List<DtsCategory> getCategory(String levels,Integer id);

    Page getLevel3(Integer pages, Integer size, Integer categoryId);

    Result getL1AndL2();

    Result clickL1GetL2(Integer id);

    Result getLevel2AndCheckedL2(DtsCategory category);

    Map findPagecategory(DtsCategoryDto dtsCategoryDto);

    boolean categorydelete(String ids);

    Integer updatecategory(Map map);
    Integer addcategory(Map map);
}
